@extends('layouts.app')

@section('htmlheader_title')
	基本设置
@endsection

@section('contentheader_title')
	基本设置
@endsection

@section('contentheader_description')
	微信参数设置
@endsection

@section('main-content')
	<div class="container spark-screen">
		<div class="row">
			<div class="col-md-10 col-md-offset-1">
				@if (count($errors) > 0)
					<div class="alert alert-danger">
						<strong>不好!</strong> {{ trans('message.someproblems') }}<br><br>
						<ul>
							@foreach ($errors->all() as $error)
								<li>{{ $error }}</li>
							@endforeach
						</ul>
					</div>
			@endif
				@if(session('success'))

						<div class="alert alert-danger">
							<strong>恭喜您!</strong> {{ trans('message.success') }}<br><br>
							<ul>

									<li>{{session('success')}}</li>

							</ul>
						</div>
				@endif

				<!-- general form elements -->
					<!-- /.box-header -->
					<!-- form start -->
					<form role="form" action="{{url('BaseSet/getParameter')}}" method="post">
						<input type="hidden" name="_token" value="{{ csrf_token() }}">
						<div class="form-group" >
							<label>公众号名称</label>
							<input type="text" class="form-control" placeholder="健康汉川" name="accout_name" value="健康汉川">
						</div>
						<div class="form-group" >
							<label>公众号原始ID</label>
							<input type="text" class="form-control" placeholder="gh_53ea05f1fe52" name="accout_id" value="gh_53ea05f1fe52">
						</div>
						<div class="form-group" >
							<label>微信号</label>
							<input type="text" class="form-control" placeholder="健康汉川" name="wx_name" value="健康汉川">
						</div>
						<div class="form-group" >
							<label>AppID</label>
							<input type="text" class="form-control" placeholder="wx1625bdb0416baa7e" name="appid" value="wx1625bdb0416baa7e">
						</div>
						<div class="form-group" >
							<label>AppSecret</label>
							<input type="text" class="form-control" placeholder="cc4d4ce7b77322ba40e3639660d5c529" name="appsecret" value="cc4d4ce7b77322ba40e3639660d5c529">
						</div>
						<div class="form-group">
							<label>消息加密方式</label>
							<select class="form-control select2" style="width: 100%;" name="pwd_way">
								<option selected="selected" value="1">明文模式</option>
								<option value="2">兼容模式</option>
								<option value="3">安全模式</option>
							</select>
						</div>
						<div class="form-group" >
							<label>Token</label>
							<input type="text" class="form-control" placeholder="57bHp9jEyKSTHT2rD1Tv" name="token" value="57bHp9jEyKSTHT2rD1Tv">
						</div>
						<div class="form-group" >
							<label>AesEncodingKey</label>
							<input type="text" class="form-control" placeholder="jxWGeNqw7SPFNnMJuDeNbjaeWEXUh8cWmu8AosCoQZ4" name="key" value="jxWGeNqw7SPFNnMJuDeNbjaeWEXUh8cWmu8AosCoQZ4">
						</div>
						<div class="form-group">
							<label>微信号类型</label>
							<select class="form-control select2" style="width: 100%;" name="type" >
								<option selected="selected" value="1">订阅号</option>
								<option value="2">服务号</option>
								<option value="3">认证订阅号</option>
								<option value="4">认证服务号</option>
							</select>
						</div>
						<div class="form-group" >
							<label>接口Url</label>
							<input type="text" class="form-control" placeholder="" name="url">
						</div>
						<div class="box-footer">
							<button type="submit" class="btn btn-primary">提交</button>
						</div>
					</form>




			</div>
		</div>
	</div>
@endsection
